package com.sura.deployment.xls;

import java.io.IOException;


public class Session {
	private static String 	nameAnalyst;
	private static int 		initLine;
	private static int 		endtLine;
	private static String[][] changedElements;
	
	
	public static void setAttributes(String nameAnalyst, int initLine, int endtLine){
		Session.nameAnalyst = nameAnalyst;
		Session.initLine = initLine;
		Session.endtLine = endtLine;
	}
	
	public static void InitValidation()throws IOException{
		ChangesFile.loadFile();
		ChangesFile.loadFileInputStream();
		ChangesFile.doValidation(nameAnalyst, initLine, endtLine);
		ChangesFile.closeFileInputStream();
	}
	
	public static void setChangedElements( String[][]elements){
		Session.changedElements = elements;
	}
	
	public static  String[][]getChangedElements(){
		return changedElements;
	}
	
}
